<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-if指令</title>
</head>
<body>
<div id="app">
  <!--判断是否为布尔类型-->
  <div v-if="isShow">DOM元素的样式绑定</div>
</div>
<script src="./vue.global.js"></script>
<script>
  const vue=Vue.createApp({
    data(){
      return{
        isShow:false
      }
    }
  }).mount('#app')
</script>
</body>
</html>